﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;
using System.Data.Linq;

namespace TwoWheels.Category
{
    [Table]
    public class Kategoria
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true)] 
        public int KategoriaID;

        [Column]
        public string NazwaKategorii
        {
            get;
            set;
        }

        [Column]
        public string Opis
        {
            get;
            set;
        }

        [Column]
        public byte[] Zdjecie
        {
            get;
            set;
        }
    }
}